package com.guan.ordering_sys.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * @Description GoodsVo 商品视图
 * @Author 关远键
 * @Version v1.0.1
 * @Date 2021/6/19 13:12
 */

@ApiModel("商品")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class GoodsVo {

    private CompanyVo companyVo;

    @ApiModelProperty("商品编号")
    private Long id;

    @ApiModelProperty("商品名称")
    private String name;

    @ApiModelProperty("商品图片")
    private String picture;

    @ApiModelProperty("商品分类")
    private Long type;

    @ApiModelProperty("商品状态：0下架1上架")
    private Integer status;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

}
